import java.util.*;


public class seating_chart
{
    seat[][] seatMap= new seat[30][6]; //30 rows, 6 seats a row
    public seating_chart()
    {  
        for(int i=0; i<30; i++)
            {
                for(int j=0; j<6; i++)
                {
                    if(j==0 || j==5)
                    {
                        seatMap[j][i].seatType="window";
                    }
                    else if(j==1 || j==4)
                    {
                        seatMap[j][i].seatType="middle";
                    }
                    else if(j==2 || j==3)
                    {
                        seatMap[j][i].seatType="aisle";
                    }
                }
            
            } 
     }
          public void printSeating()
            {
                for (int i= 0; i<30; i++)
                {
                    for (int k=0;k<6;i++)
                        {
                         System.out.println(seatMap[k][i].getDisplay()+"  ");
                         if (k==5)
                         {
                             System.out.println();
                         }
                        }
                }
            }
}


